<nav>
    {% categories.forEach(function(_category){ %}<span{%- (category.slug == _category.slug) ? ' class="active"' : '' %}><a title="{%= _category.description %}" href="/category/{%= _category.slug %}">{%= _category.name %}</a></span>
{% }) %}</nav>